home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- #ifndef DualListH
- #define DualListH
- //----------------------------------------------------------------------------
- #include <vcl\System.hpp>
- #include <vcl\Windows.hpp>
- #include <vcl\SysUtils.hpp>
- #include <vcl\Classes.hpp>
- #include <vcl\Graphics.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\Controls.hpp>
- #include <vcl\StdCtrls.hpp>
- #include <vcl\Buttons.hpp>
- //----------------------------------------------------------------------------
- class TDualListDlg : public TForm
- {
- __published:
- TButton *OKBtn;
- TButton *CancelBtn;
- TButton *HelpBtn;
- TListBox *SrcList;
- TListBox *DstList;
- TLabel *SrcLabel;
- TLabel *DstLabel;
- TSpeedButton *IncludeBtn;
- TSpeedButton *IncAllBtn;
- TSpeedButton *ExcludeBtn;
- TSpeedButton *ExAllBtn;
- void __fastcall IncludeBtnClick(TObject *Sender);
- void __fastcall ExcludeBtnClick(TObject *Sender);
- void __fastcall IncAllBtnClick(TObject *Sender);
- void __fastcall ExcAllBtnClick(TObject *Sender);
- void __fastcall MoveSelected(TCustomListBox *List, TStrings *Items);
- void __fastcall SetItem(TListBox *List, int Index);
- Integer __fastcall GetFirstSelection(TCustomListBox *List);
- void __fastcall SetButtons();
- private:
- public:
- virtual __fastcall TDualListDlg(TComponent* AOwner);
- };
- //----------------------------------------------------------------------------
- extern TDualListDlg *DualListDlg;
- //----------------------------------------------------------------------------
- #endif
-